package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 我自己编写的医生字段对象 sys_doctor
 *
 * @author ruoyi
 * @date 2020-06-24
 */
public class SysDoctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生编号 */
    private Long id;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String name;

    /** 医生密码 */
    @Excel(name = "医生密码")
    private String password;

    /** 医生性别，男：0，女：1 */
    @Excel(name = "医生性别，男：0，女：1")
    private String sex;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("password", getPassword())
                .append("sex", getSex())
                .toString();
    }
}
